package FamilyTherapy;

public class Main 
{	
	//constants for the whole package
	public static final int decisionMin=1;
	public static final int decisionMax=4;
	public static final int choiceMin=1;
	public static final int choiceMax=5;
	public static final int roleMin=0;
	public static final int roleMax=5;
	public static final int noOfPlayerMin=2;
	public static final int noOfPlayerMax=6;
	public static final int mtMin=0;
	public static final int mtMax=4;	
	
	//why do we need to make these static, 
	//because u want to invoke this through class not object
	public static GCWindow gcWindow;
	public static Game g;
	public static Player[] p;
		
	public static void main(String args[]) 
	{
		gcWindow=new GCWindow();
		g=new Game();
		
		gcWindow.displayWelcome();	
		p=new Player[gcWindow.requestNoOfPlayer(g)];		
		gcWindow.requestSetInfo(g, p);
		
		g.startGame(gcWindow, p);
		g.gameLoop(gcWindow, p);
	}
}